"use strict";
/**
 * @author zhaojiuyi
 * @date 2022/9/11-21:37
 * @version 1.0.0
 */
export const valiDate = (that,form) => {
  return new Promise((resolve,reject) => {
    try {
      that.$refs[form].validate(valid => {
        resolve(valid)
      })
    }catch (e){
      reject(e)
    }
  })
}
